<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
    <link rel="stylesheet" href="../../../../layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../../css/commodityCss/goodsCss/edit.css">

</head>
<body>
<div id="sp_edit_head">
    <form class="layui-form" action="javascript:;">
        <input type="hidden" name="commodityId">
        <div>
            <table border="1">
                <tr>
                    <td colspan="6" id="sp_edit_table_head">编辑商品信息</td>
                </tr>
                <tr>
                    <td class="sp_edit_border_color_left">商品编号：</td>
                    <td>
                        <input type="text" name="commodityCode" class="layui-input">
                    </td>
                    <td>商品名称：</td>
                    <td>
                        <input type="text" name="commodityName" class="layui-input">
                    </td>
                    <td>商品售价：</td>
                    <td class="sp_edit_border_color_right">
                        <input type="text" name="currentPrice" class="layui-input">
                    </td>
                </tr>
                <tr>
                    <td class="sp_edit_border_color_left">修改时间：</td>
                    <td>
                        <input type="text" id="hirthdate" name="createDate" placeholder="" class="layui-input">
                    </td>
                    <td>上传人：</td>
                    <td>
                        <input type="text" name="userName" readonly class="layui-input">
                    </td>
                    <td>商品分类：</td>
                    <td id="ztree" class="sp_edit_border_color_right">
                    <input id="aa" type="text" name="classifyTitle" placeholder="" class="layui-input"
                               readonly="readonly" lay-verify="required">
                        <input id="treeid" hidden name="classifyId">
                    </td>
                </tr>
                <tr>
                    <td class="sp_edit_border_color_left">审核状态：</td>
                    <td>
                        <input type="text" name="commodityExamine" readonly class="layui-input">
                    </td>
                    <td>商品标签：</td>
                    <td>
                        <input type="text" name="commodityLabel" placeholder="" class="layui-input">
                    </td>
                    <td>关键字：</td>
                    <td class="sp_edit_border_color_right">
                        <input type="text" name="searchKeywords" placeholder="" class="layui-input">
                    </td>
                </tr>
<!--                <tr>-->
<!--                    <td class="sp_edit_border_color_left">点赞量：</td>-->
<!--                    <td>-->
<!--                        <input type="text" name="" placeholder="" class="layui-input">-->
<!--                    </td>-->
<!--                    <td>收藏量：</td>-->
<!--                    <td>-->
<!--                        <input type="text" name="" placeholder="" class="layui-input">-->
<!--                    </td>-->
<!--                    <td>销量：</td>-->
<!--                    <td class="sp_edit_border_color_right">-->
<!--                        <input type="text" name="" placeholder="" class="layui-input">-->
<!--                    </td>-->
<!--                </tr>-->
                <tr>
                    <td class="sp_edit_border_color_left" id="sp_edit_spjj">商品简介：</td>
                    <td class="sp_edit_border_color_right" colspan="5">
                        <input id="sp_edit_spjjk" type="text" name="commodityDetails" placeholder="" class="layui-input">
                    </td>
                </tr>
                <tr>
                    <td class="sp_edit_border_color_leftRight" colspan="6"></td>
                </tr>
                <tr id="sp_edit_ylt">
                    <td>预览图：</td>
                    <td>
                        <input id="pic" hidden name="commodityImage" th :value="${obj?.pic}"/>
                        <div id="imgDiv" class="layui-upload-list">
                            <img class="layui-upload-img" width="120px" height="100px" id="commodityImage" name="msg"/>
                            <p id="demoText"></p>
                        </div>
                        <button type="button" class="layui-btn layui-btn-primary layui-border-blue" id="upload" style="width: 120px">
                            修改图片
                        </button>
                    </td>
                </tr>
                <tr>
                    <td id="sp_edit_but" colspan="6">
                        <button lay-submit lay-filter="determine" class="layui-btn layui-btn-primary layui-border-blue" style="width: 120px">确定</button>
                        <button id="cancel" class="layui-btn layui-btn-primary layui-border-orange" style="width: 120px">取消</button>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
<script src="../../../../layui/layui.js"></script>
<script src="../../../../layui/jquery-3.6.0.js"></script>
<script src="../../../../js/commodityJs/goodsJs/edit.js"></script>
</body>
</html>